﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace FeedingSystemTimedTask
{
    /// <summary>
    /// 上料完成参数
    /// </summary>
    public class FeedingFinishArgs
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonPropertyName("device_code")]
        public string DeviceCode { get; set; } = string.Empty;
        /// <summary>
        /// 原材料代码
        /// </summary>
        [JsonPropertyName("material_code")]
        public short MaterialCode { get; set; }
        /// <summary>
        /// 存储罐原材料重量（KG）
        /// </summary>
        [JsonPropertyName("jar_weight")]
        public float JarWeight { get; set; }
        /// <summary>
        /// 存储罐投料重量（KG）
        /// </summary>
        [JsonPropertyName("feeding_weight")]
        public float FeedingWeight { get; set; }
    }
}
